package com.bdqn.tsyyds.service.Student;

import com.bdqn.tsyyds.entity.Student;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.Map;

public interface StudentService {
    Student findByStdNameAndPassword(String stdName, String password);

    Student findByUserNameBiz(String usrName);


    //控制分页和条件查询的方法
    public Page<Student> findPageByMap(Map param, Pageable pageable);

    //新增
    public Student findSave(Student student);

    //已id查询所有的
    Student select(Long id);

    //已id删除
    void delel(Long id) throws Exception;
}
